﻿using System;

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            RefClass refClass = new RefClass();
            int a = 50;
            bool result = refClass.Judge(ref a);
            Console.WriteLine("结果为:"+result);



            OutClass outClass = new OutClass();
            bool b;
            outClass.Judge(40, out b);
            Console.WriteLine("结果为:"+b);



        }
    }
}
